package com.example.patient.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/19 13:24
 * @Version 1.0
 */
@Data
@ApiModel(value = "下级科室返回体")
public class GetCDepResp implements Serializable {
    private static final long serialVersionUID = 6518224302151497462L;

    @ApiModelProperty(value = "科室")
    @JSONField(name = "dep")
    private List<GetCDepDepResp> dep;

    @Data
    public static class GetCDepDepResp implements Serializable {
        private static final long serialVersionUID = 6049947686129566506L;

        @ApiModelProperty(value = "ID")
        @JSONField(name = "ID")
        private Long id;
        @ApiModelProperty(value = "Name")
        @JSONField(name = "Name")
        private String name;
    }
}
